.Net Framework > v3.0.6920.0 > System > Runtime > Serialization > DataContractSerializer > DataContractSerializer DataContractSerializer(Type)
DataContractSerializer(Type,IEnumerable<Type>)
DataContractSerializer(Type,IEnumerable<Type>,Int32,Boolean,Boolean,IDataContractSurrogate)
DataContractSerializer(Type,String,String)
DataContractSerializer(Type,String,String,IEnumerable<Type>)
DataContractSerializer(Type,String,String,IEnumerable<Type>,Int32,Boolean,Boolean,IDataContractSurrogate)
DataContractSerializer(Type,XmlDictionaryString,XmlDictionaryString)
DataContractSerializer(Type,XmlDictionaryString,XmlDictionaryString,IEnumerable<Type>)
DataContractSerializer(Type,XmlDictionaryString,XmlDictionaryString,IEnumerable<Type>,Int32,Boolean,Boolean,IDataContractSurrogate)


DataContractSerializer(Type)

Category
Constructor
Description
Initializes a new instance of the System.Runtime.Serialization.DataContractSerializer class to serialize or deserialize an object of the specified type.
Type
void
Character
public
Parameters
NameTypeDescription
typeType
Tags
0104BC7FDA, 02E3ABA98D, 034B4F5192

DataContractSerializer(Type,IEnumerable<Type>)

Category
Constructor
Description
Initializes a new instance of the System.Runtime.Serialization.DataContractSerializer class to serialize or deserialize an object of the specified type, and a collection of known types that may be present in the object graph.
Type
void
Character
public
Parameters
NameTypeDescription
typeType
knownTypesSystem.Collections.Generic.IEnumerable<Type>
Tags
0104BC7FDA, 02E3ABA98D, 034B4F5192

DataContractSerializer(Type,IEnumerable<Type>,Int32,Boolean,Boolean,IDataContractSurrogate)

Category
Constructor
Description
Initializes a new instance of the System.Runtime.Serialization.DataContractSerializer class to serialize or deserialize an object of the specified type. This method also specifies a list of known types that may be present in the object graph, the maximum number of graph items to serialize, parameters to ignore unexpected data, whether to use non-standard XML constructs to preserve object reference data in the graph, and a surrogate for custom serialization.
Type
void
Character
public
Parameters
NameTypeDescription
typeType
knownTypesSystem.Collections.Generic.IEnumerable<Type>
maxItemsInObjectGraphInt32
ignoreExtensionDataObjectBoolean
preserveObjectReferencesBoolean
dataContractSurrogateIDataContractSurrogate
Tags
0104BC7FDA, 02E3ABA98D, 034B4F5192

DataContractSerializer(Type,String,String)

Category
Constructor
Description
Initializes a new instance of the System.Runtime.Serialization.DataContractSerializer class to serialize or deserialize an object of the specified type using the supplied XML root element and namespace.
Type
void
Character
public
Parameters
NameTypeDescription
typeType
rootNameString
rootNamespaceString
Tags
0104BC7FDA, 02E3ABA98D, 034B4F5192

DataContractSerializer(Type,String,String,IEnumerable<Type>)

Category
Constructor
Description
Initializes a new instance of the System.Runtime.Serialization.DataContractSerializer class to serialize or deserialize an object of the specified type. This method also specifies the root XML element and namespace in two string parameters as well as a list of known types that may be present in the object graph.
Type
void
Character
public
Parameters
NameTypeDescription
typeType
rootNameString
rootNamespaceString
knownTypesSystem.Collections.Generic.IEnumerable<Type>
Tags
0104BC7FDA, 02E3ABA98D, 034B4F5192

DataContractSerializer(Type,String,String,IEnumerable<Type>,Int32,Boolean,Boolean,IDataContractSurrogate)

Category
Constructor
Description
Initializes a new instance of the System.Runtime.Serialization.DataContractSerializer class to serialize or deserialize an object of the specified type. This method also specifies a list of known types that may be present in the object graph, the maximum number of graph items to serialize, parameters to ignore unexpected data, whether to use non-standard XML constructs to preserve object reference data in the graph, a surrogate for custom serialization, and strings that specify the XML element and namespace that contain the content.
Type
void
Character
public
Parameters
NameTypeDescription
typeType
rootNameString
rootNamespaceString
knownTypesSystem.Collections.Generic.IEnumerable<Type>
maxItemsInObjectGraphInt32
ignoreExtensionDataObjectBoolean
preserveObjectReferencesBoolean
dataContractSurrogateIDataContractSurrogate
Tags
0104BC7FDA, 02E3ABA98D, 034B4F5192

DataContractSerializer(Type,XmlDictionaryString,XmlDictionaryString)

Category
Constructor
Description
Initializes a new instance of the System.Runtime.Serialization.DataContractSerializer class to serialize or deserialize an object of the specified type using the XML root element and namespace specified through the parameters of type System.Xml.XmlDictionaryString.
Type
void
Character
public
Parameters
NameTypeDescription
typeType
rootNameXmlDictionaryString
rootNamespaceXmlDictionaryString
Tags
0104BC7FDA, 02E3ABA98D, 034B4F5192

DataContractSerializer(Type,XmlDictionaryString,XmlDictionaryString,IEnumerable<Type>)

Category
Constructor
Description
Initializes a new instance of the System.Runtime.Serialization.DataContractSerializer class to serialize or deserialize an object of the specified type. This method also specifies the root XML element and namespace in two System.Xml.XmlDictionaryString parameters as well as a list of known types that may be present in the object graph.
Type
void
Character
public
Parameters
NameTypeDescription
typeType
rootNameXmlDictionaryString
rootNamespaceXmlDictionaryString
knownTypesSystem.Collections.Generic.IEnumerable<Type>
Tags
0104BC7FDA, 02E3ABA98D, 034B4F5192

DataContractSerializer(Type,XmlDictionaryString,XmlDictionaryString,IEnumerable<Type>,Int32,Boolean,Boolean,IDataContractSurrogate)

Category
Constructor
Description
Initializes a new instance of the System.Runtime.Serialization.DataContractSerializer class to serialize or deserialize an object of the specified type. This method also specifies a list of known types that may be present in the object graph, the maximum number of graph items to serialize, parameters to ignore unexpected data, whether to use non-standard XML constructs to preserve object reference data in the graph, a surrogate for custom serialization, and parameters of System.Xml.XmlDictionaryString that specify the XML element and namespace that contain the content.
Type
void
Character
public
Parameters
NameTypeDescription
typeType
rootNameXmlDictionaryString
rootNamespaceXmlDictionaryString
knownTypesSystem.Collections.Generic.IEnumerable<Type>
maxItemsInObjectGraphInt32
ignoreExtensionDataObjectBoolean
preserveObjectReferencesBoolean
dataContractSurrogateIDataContractSurrogate
Tags
0104BC7FDA, 02E3ABA98D, 034B4F5192

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database